package com.multi.thread.chapter03.demo21;

import java.util.Date;

public class InheritableThreadLocalExt extends InheritableThreadLocal<Long> {
	
	@Override
	protected Long initialValue() {
		return new Date().getTime();
	}
	
	@Override
	protected Long childValue(Long parentValue) {
		return parentValue + 1;
	}

}
